package com.sqx.modules.health.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 *
 * </p>
 *
 * @author gxy
 * @since 2022-07-19
 */
@Getter
@Setter
@TableName("ncg_diseasetype")
@ApiModel(value = "Diseasetype对象", description = "")
public class Diseasetype implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("疾病类型")
    private String type;

    @ApiModelProperty("所属医院")
    private Long hid;

    @ApiModelProperty("创建时间")
    private LocalDateTime createtime;

    @ApiModelProperty("所属医院名称")
    @TableField(exist = false)
    private String hname;
}
